package com.zoshine.zzg.pojo.table;

import com.zoshine.zzg.pojo.Menu;

import java.util.ArrayList;
import java.util.List;

/**
 * 初始化菜单
 * @author 贾俊峰
 * @time 2017/8/16 18:00
 */
public class Menus {
    /**内网菜单*/
    public static final List<Menu> INNER_MENU_LIST = new ArrayList<>();
    /**外网菜单*/
    public static final List<Menu> OUTER_MENU_LIST = new ArrayList<>();

    // 内外菜单初始化
    static {
        // 商品管理
        INNER_MENU_LIST.add(new Menu("010000","商品管理","0",1,"fa fa-tasks",null,1,1000));
        INNER_MENU_LIST.add(new Menu("010100","商品库","010000",2,null,"goods/innerGoodsList.html",1,100));
        INNER_MENU_LIST.add(new Menu("010101","上架商品","010100",3,null,"innerGoods/upGoods",1,10));
        INNER_MENU_LIST.add(new Menu("010102","下架商品","010100",3,null,"innerGoods/downGoods",1,20));
        INNER_MENU_LIST.add(new Menu("010200","历史导入","010000",2,null,"goods/importHistoryList.html",0,200));
        // 订单管理
        INNER_MENU_LIST.add(new Menu("020000","订单管理","0",1,"fa fa-th",null,1,2000));
        INNER_MENU_LIST.add(new Menu("020100","点单信息","020000",2,null,"order/prisonerOrderList.html",1,100));
        INNER_MENU_LIST.add(new Menu("020101","新增订单","020100",3,null,"order/addCommodity.html",1,10));
        INNER_MENU_LIST.add(new Menu("020102","审核通过","020100",3,null,"orderPrisoner/passOrderPrisoner",1,20));
        INNER_MENU_LIST.add(new Menu("020103","审核不通过","020100",3,null,"orderPrisoner/failOrderPrisoner",1,30));
        INNER_MENU_LIST.add(new Menu("020104","生成供应商订单","020100",3,null,"orderSupplier/addOrderSupplier",1,40));
        INNER_MENU_LIST.add(new Menu("020200","供应商订单","020000",2,null,"order/supplierOrderList.html",1,200));
        INNER_MENU_LIST.add(new Menu("020300","收发货管理","020000",2,null,"order/deliverList.html",1,300));
        INNER_MENU_LIST.add(new Menu("020303","缺货登记","020300",3,null,"order/stockOut.html",1,30));
        INNER_MENU_LIST.add(new Menu("020305","批量删除","020300",3,null,null,0,50));
        INNER_MENU_LIST.add(new Menu("020400","发放单","020000",2,null,"order/releaseSlipList.html",1,500));
        INNER_MENU_LIST.add(new Menu("020402","确认收货","020400",3,null,"goodsReturn/confirmGoodsReturn",1,20));
        INNER_MENU_LIST.add(new Menu("020500","缺货管理","020000",2,null,"order/stockOutList.html",1,400));
        // 财务管理
        INNER_MENU_LIST.add(new Menu("030000","财务管理","0",1,"fa fa-desktop",null,1,3000));
        INNER_MENU_LIST.add(new Menu("030200","犯人结算","030000",2,null,"finance/prisonerSettlementList.html",1,100));
        INNER_MENU_LIST.add(new Menu("030203","提交转账","030200",3,null,null,1,30));
        // 权限管理
        INNER_MENU_LIST.add(new Menu("050000","权限管理","0",1,"fa fa-group",null,1,5000));
        INNER_MENU_LIST.add(new Menu("050400","角色管理","050000",2,null,"account/roleList.html",1,100));
        INNER_MENU_LIST.add(new Menu("050401","新增角色","050400",3,null,"account/roleAdd.html",1,10));
        INNER_MENU_LIST.add(new Menu("050402","删除角色","050400",3,null,"role/delRole",1,20));
        INNER_MENU_LIST.add(new Menu("050403","角色权限","050400",3,null,"account/rolePower.html",1,30));
        INNER_MENU_LIST.add(new Menu("050500","用户管理","050000",2,null,"account/userList.html",1,200));
        INNER_MENU_LIST.add(new Menu("050501","新增用户","050500",3,null,"account/userAdd.html",1,10));
        INNER_MENU_LIST.add(new Menu("050502","删除用户","050500",3,null,"user/delUser",1,20));
        // 犯人管理
        INNER_MENU_LIST.add(new Menu("070000","犯人管理","0",1,"fa fa-user",null,1,7000));
        INNER_MENU_LIST.add(new Menu("070200","犯人信息管理","070000",2,null,"prisoner/prisonerList.html",1,100));
        INNER_MENU_LIST.add(new Menu("070201","新建账户","070200",3,null,null,1,10));
        INNER_MENU_LIST.add(new Menu("070202","批量导入","070200",3,null,null,1,20));
        INNER_MENU_LIST.add(new Menu("070203","批量开户","070200",3,null,null,1,30));
        INNER_MENU_LIST.add(new Menu("070204","补卡挂失","070200",3,null,null,1,40));
        INNER_MENU_LIST.add(new Menu("070205","离监销户","070200",3,null,null,1,50));
        INNER_MENU_LIST.add(new Menu("070300","犯人阈值管理","070000",2,null,"prisoner/prisonerThresholdList.html",1,200));
        INNER_MENU_LIST.add(new Menu("070301","批量设置阈值","070300",3,null,null,1,10));
        // 账户管理
        INNER_MENU_LIST.add(new Menu("080000","账户管理","0",1,"fa fa-group",null,1,8000));
        INNER_MENU_LIST.add(new Menu("080100","供应商管理","080000",2,null,"manage/supplierManagementList.html",1,100));
        INNER_MENU_LIST.add(new Menu("080101","新增供应商","080100",3,null,"manage/organizationAdd.html",1,10));
        // 系统配置
        INNER_MENU_LIST.add(new Menu("100000","系统配置","0",1,"fa fa-cogs",null,1,10000));
        INNER_MENU_LIST.add(new Menu("100100","菜单管理","100000",2,null,"system/menuList.html",1,100));
        INNER_MENU_LIST.add(new Menu("100101","添加一级菜单","100100",3,null,"system/menuAdd.html",1,10));
        INNER_MENU_LIST.add(new Menu("100102","添加子菜单","100100",3,null,"system/menuAdd.html",1,20));
        INNER_MENU_LIST.add(new Menu("100103","批量删除","100100",3,null,"system/batchDelMenu",1,30));
        INNER_MENU_LIST.add(new Menu("100200","参数配置","100000",2,null,"system/systemParamList.html",1,200));
        INNER_MENU_LIST.add(new Menu("100201","添加参数","100200",3,null,"system/addSystemParam",1,10));
        INNER_MENU_LIST.add(new Menu("100202","修改参数","100200",3,null,"system/editSystemParam",1,20));
        INNER_MENU_LIST.add(new Menu("100203","删除参数","100200",3,null,"system/delSystemParam",1,30));
        INNER_MENU_LIST.add(new Menu("100300","商品类型管理","100000",2,null,"goods/goodsTypeList.html",1,300));
        INNER_MENU_LIST.add(new Menu("100400","数据导入导出","100000",2,null,"system/importExportList.html",1,400));
        INNER_MENU_LIST.add(new Menu("100401","导出数据","100400",3,null,"importExport/export",1,10));
        INNER_MENU_LIST.add(new Menu("100402","导入数据","100400",3,null,"importExport/import",1,20));
    }

    // 外网菜单初始化
    static {
        // 商品管理
        OUTER_MENU_LIST.add(new Menu("010000","商品管理","0",1,"fa fa-tasks",null,1,1000));
        OUTER_MENU_LIST.add(new Menu("010100","商品库","010000",2,null,"goods/outerGoodsList.html",1,100));
        OUTER_MENU_LIST.add(new Menu("010101","添加商品","010100",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("010102","批量删除","010100",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("010103","申请上架商品","010100",3,null,null,1,30));
        OUTER_MENU_LIST.add(new Menu("010200","上架列表","010000",2,null,"goods/publishList.html",1,200));
        OUTER_MENU_LIST.add(new Menu("010201","上架通过","010200",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("010202","上架不通过","010200",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("010204","申请下架商品","010200",3,null,null,1,40));
        OUTER_MENU_LIST.add(new Menu("010205","下架通过","010200",3,null,null,1,50));
        OUTER_MENU_LIST.add(new Menu("010206","下架不通过","010200",3,null,null,1,60));
        OUTER_MENU_LIST.add(new Menu("010207","上架申请","010200",3,null,"goodsPublish/upAudit",1,70));
        OUTER_MENU_LIST.add(new Menu("010208","下架","010200",3,null,"goodsPublish/down",1,80));
        OUTER_MENU_LIST.add(new Menu("010209","批量删除","010200",3,null,"goodsPublish/batchDel",1,90));
        OUTER_MENU_LIST.add(new Menu("010210","驳回处理","010200",3,null,null,1,10));
        // 订单管理
        OUTER_MENU_LIST.add(new Menu("020000","订单管理","0",1,"fa fa-th",null,1,2000));
        OUTER_MENU_LIST.add(new Menu("020100","待发货管理","020000",2,null,"order/waitDeliver.html",1,100));
        OUTER_MENU_LIST.add(new Menu("020101","生成发货单","020100",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("020200","供应商订单","020000",2,null,"order/supplierOrderList.html",1,200));
        OUTER_MENU_LIST.add(new Menu("020300","收发货管理","020000",2,null,"order/deliverList.html",1,300));
        OUTER_MENU_LIST.add(new Menu("020301","确认发货","020300",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("020302","确认收货","020300",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("020304","生成结算单","020300",3,null,null,1,40));
        OUTER_MENU_LIST.add(new Menu("020305","批量删除","020300",3,null,null,1,50));
        OUTER_MENU_LIST.add(new Menu("020400","缺货登记","020000",2,null,"order/outerStockOut.html",1,400));
        OUTER_MENU_LIST.add(new Menu("020401","确认发货","020400",3,null,"goodsReturn/confirmBackGoods",1,10));
        // 财务管理
        OUTER_MENU_LIST.add(new Menu("030000","财务管理","0",1,"fa fa-desktop",null,1,3000));
        OUTER_MENU_LIST.add(new Menu("030100","供应商结算","030000",2,null,"finance/supplierSettlementList.html",1,100));
        OUTER_MENU_LIST.add(new Menu("030101","提交审核","030100",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("030102","审核通过","030100",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("030103","审核不通过","030100",3,null,null,1,30));
        OUTER_MENU_LIST.add(new Menu("030104","申请发票","030100",3,null,null,1,40));
        OUTER_MENU_LIST.add(new Menu("030105","寄送发票","030100",3,null,null,1,50));
        OUTER_MENU_LIST.add(new Menu("030106","收取发票","030100",3,null,null,1,60));
        OUTER_MENU_LIST.add(new Menu("030107","提交转账","030100",3,null,null,1,70));
        // 报表管理
        OUTER_MENU_LIST.add(new Menu("040000","报表管理","0",1,"fa fa-pie-chart",null,0,4000));
        OUTER_MENU_LIST.add(new Menu("040100","周报","040000",2,null,"report/reportForms.html",0,100));
        OUTER_MENU_LIST.add(new Menu("040200","月报","040000",2,null,"report/monthReport.html",0,200));
        OUTER_MENU_LIST.add(new Menu("040300","年报","040000",2,null,"report/yearReport.html",0,300));
        OUTER_MENU_LIST.add(new Menu("040400","历史报表","040000",2,null,"report/reportList.html",0,400));
        // 权限管理
        OUTER_MENU_LIST.add(new Menu("050000","权限管理","0",1,"fa fa-lock",null,1,5000));
        OUTER_MENU_LIST.add(new Menu("050301","新增组织","050300",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("050302","删除组织","050300",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("050400","角色管理","050000",2,null,"account/roleList.html",1,100));
        OUTER_MENU_LIST.add(new Menu("050401","新增角色","050400",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("050402","批量删除","050400",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("050403","权限配置","050400",3,null,null,1,30));
        OUTER_MENU_LIST.add(new Menu("050500","用户管理","050000",2,null,"account/userList.html",1,200));
        OUTER_MENU_LIST.add(new Menu("050501","新增用户","050500",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("050502","删除用户","050500",3,null,null,1,20));
        // 账户管理
        OUTER_MENU_LIST.add(new Menu("080000","账户管理","0",1,"fa fa-group",null,1,8000));
        OUTER_MENU_LIST.add(new Menu("080100","供应商管理","080000",2,null,"manage/supplierManagementList.html",1,100));
        OUTER_MENU_LIST.add(new Menu("080101","新增供应商","080100",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("080200","监所管理","080000",2,null,"manage/prisonManagementList.html",1,200));
        OUTER_MENU_LIST.add(new Menu("080201","新增监所","080200",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("080300","用户关系管理","080000",2,null,"manage/relationSupplierPrison.html",1,300));
        OUTER_MENU_LIST.add(new Menu("080301","新增对应关系","080300",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("080302","审核通过","080300",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("080303","审核不通过","080300",3,null,null,1,30));
        // 系统管理
        OUTER_MENU_LIST.add(new Menu("100000","系统管理","0",1,"fa fa-cogs",null,1,10000));
        OUTER_MENU_LIST.add(new Menu("100100","菜单管理","100000",2,null,"system/menuList.html",1,100));
        OUTER_MENU_LIST.add(new Menu("100101","添加一级菜单","100100",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("100102","添加子菜单","100100",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("100103","批量删除","100100",3,null,null,1,30));
        OUTER_MENU_LIST.add(new Menu("100200","参数配置","100000",2,null,"system/systemParamList.html",1,200));
        OUTER_MENU_LIST.add(new Menu("100201","添加参数","100200",3,null,"system/addSystemParam",1,10));
        OUTER_MENU_LIST.add(new Menu("100202","修改参数","100200",3,null,"system/editSystemParam",1,20));
        OUTER_MENU_LIST.add(new Menu("100203","删除参数","100200",3,null,"system/delSystemParam",1,30));
        OUTER_MENU_LIST.add(new Menu("100300","商品类型管理","100000",2,null,"goods/goodsTypeList.html",1,300));
        OUTER_MENU_LIST.add(new Menu("100301","新增商品类型","100300",3,null,null,1,10));
        OUTER_MENU_LIST.add(new Menu("100302","删除商品类型","100300",3,null,null,1,20));
        OUTER_MENU_LIST.add(new Menu("100400","数据导入导出","100000",2,null,"system/importExportList.html",1,400));
        OUTER_MENU_LIST.add(new Menu("100401","导出数据","100400",3,null,"data/export",1,10));
        OUTER_MENU_LIST.add(new Menu("100402","导入数据","100400",3,null,"data/import",1,20));
    }
}
